package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-07-31
 */
@Getter
@Setter
@TableName("ml_product_member_union")
public class ProductMemberUnion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private Long productId;

    private Long userId;

    private String productUrl;

    /**
     *
     * 用户联登状态
     * INIT 撞库成功 （才进行展示产品信息）
     * FAILED 撞库失败
     * ERROR 联登失败
     * SUCCESS 联登成功 （才有产品信息进行展示）（在时间范围内，展示产品信息）
     */
    private String status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * （SYSTEM 系统）（）
     */
    private String type;

    private LocalDateTime showDate;

    private String matchResult;

    private String registerResult;

}
